CREATE TABLE [dbo].[TTPAIS]
(
[CO_PAIS] [dbo].[TD_VC_003] NOT NULL,
[NO_PAIS] [dbo].[TD_VC_020] NULL,
[NO_NACI] [dbo].[TD_VC_050] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTPAIS__CO_USUA___6E565CE8] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTPAIS__FE_USUA___6F4A8121] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTPAIS__CO_USUA___703EA55A] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTPAIS__FE_USUA___7132C993] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTPAIS] ADD CONSTRAINT [PK__TTPAIS__27345DA86CF8245B] PRIMARY KEY CLUSTERED  ([CO_PAIS]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTPAIS] TO [public]
GRANT INSERT ON  [dbo].[TTPAIS] TO [public]
GRANT DELETE ON  [dbo].[TTPAIS] TO [public]
GRANT UPDATE ON  [dbo].[TTPAIS] TO [public]
GO
